<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>校园历程</title>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
    <link rel="stylesheet" type="text/css" href="<%=path %>/css/f/default.css"/>
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/navs.css"/>
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/assignment.css"/>
	<script src="js/jquery.min.js"></script>
	<script src="js/f/default.js"></script>
	<script type="text/javascript" src="js/f/activiti.js"></script>
  </head>
  
  <body>
    <div class="all" style="overflow: hidden;">
  		<jsp:include page="/nav.jsp"></jsp:include>
  		<div class="rightall float-left">
			<div  class="already">
				<div  class="already-title">
					<div class="left">班级活动</div>
				</div>
				<div style="margin-top:20px;">
					<form style="width: 40%; margin: 0 auto;text-align: center;" action="counselor/schoolLife.do" method="post">
						<input class="task" style="width: 30%" placeholder="班级/学生" name="condition">
						<button  type="submit" class="btn-style task">搜索</button>
					</form>
				</div>
				<div style="margin-top:20px;">
					<table>
						<tr class="tr-style-head">
							<td>学生</td>
							<td>班级</td>
							<td>主题</td>
							<td>开始时间</td>
							<td>操作</td>
						</tr>
						<c:forEach var="slist" items="${schoolList }">
							<tr class="tr-style">
								<td>${slist.stuName }</td>
								<td>${slist.className }</td>
								<td>${slist.activityTitle}</td>
								<td>${slist.createTime}</td>
								<td>
									<span style="display: none;">${slist.schoolLifeId }</span>
									<a href="javascript:" class="show"  style="color: #f00" >查看</a>
								</td>
							</tr>
						</c:forEach>
					</table>
					<c:if test="${pages > 1 }">
	               		<div class="previous">
		               		<c:if test="${pageNo>1}">
		                    	<a href="counselor/schoolLife.do?pageNo=${pageNo-1 }&&condition=${Condition}">上一页</a>
		                	</c:if>
		                   	<c:forEach var="p" begin="1" end="${pages }" step="1">
		                   		<c:if test="${p==pageNo }">
		                   			<span style="font-size:18px;color:#446ee6;">&nbsp;${p}&nbsp;</span>
		                   		</c:if>
		                   		<c:if test="${p!=pageNo }">
		                   			<a href="counselor/schoolLife.do?pageNo=${p }&&condition=${Condition}" >&nbsp;${p}&nbsp;</a>
		                   		</c:if>
		                   	</c:forEach>
		                    <c:if test="${pageNo<pages}">
		                    	<a href="counselor/schoolLife.do?pageNo=${pageNo+1 }&&condition=${Condition}">下一页</a>
		                	</c:if>
	                   	</div>
                	</c:if>
				</div>
			</div>
		</div>
		<div class="floot-clear"></div>
		<div class="position" id="work_content">
        	<div class="position-content">
            	<div>
            		<a href="" class="float-right close"  onClick="return thisClose('work_content')">
                		<img alt="" src="image/f/close.jpg" >
                	</a>
            	</div>
            	<div style="margin-top: 50px;">
            		<div id="banner" > 
					    	<div id="banner_bg"></div><!--标题背景-->
					    	<div id="banner_info"></div><!--标题-->
					    	<ul>
					    		<li class="on">1</li>
					    		<li>2</li>
					    		<li>3</li>
					    		<li>4</li>
					    		<li>5</li>
					    		<li>6</li>
					    		<li>7</li>
					    		<li>8</li>
					    	</ul>
					        <div id="banner_list">
					            <a href="#" target="_blank"><img src="image/f/1.jpg"/></a>
					           	<!--   <a href="#" target="_blank"><img src=""/></a>
					            <a href="#" target="_blank"><img src=""/></a>
					            <a href="#" target="_blank"><img src=""/></a>
					            <a href="#" target="_blank"><img src=""/></a>
					            <a href="#" target="_blank"><img src=""/></a>
					            <a href="#" target="_blank"><img src=""/></a>
					            <a href="#" target="_blank"><img src=""/></a> -->
					          	<a href="#" target="_blank"><img src="image/f/2.jpg" /></a>
					            <a href="#" target="_blank"><img src="image/f/1.jpg"/></a>
					            <a href="#" target="_blank"><img src="image/f/2.jpg"/></a>
					            <a href="#" target="_blank"><img src="image/f/1.jpg"/></a>
					            <a href="#" target="_blank"><img src="image/f/2.jpg" /></a>
					            <a href="#" target="_blank"><img src="image/f/1.jpg"/></a>
					            <a href="#" target="_blank"><img src="image/f/2.jpg"/></a>
					        </div>
					</div>
            		<div style="width: 80%; margin: 0 auto;font-size: 18px;">
					    <div class="life">
					    	<h1 style="text-align: center;"></h1>
					    	<p>
					    		
					    	</p>
					    </div>
					</div>
            	</div>
            	<div id="showSign" style="text-align: center;display: none;">
            		<span id="activiteId" style="display: none;"></span>
            		<input class="btn-style sign" style="width: 15%;height: 40px;font-size: 18px;" type="button" value="活动报名">
            	</div>
       		</div>
    	</div>
  	</div>
  </body>
</html>
